package com.ddtech.framework.system.model.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author bin
 */
@Data
public class UserInfoVo {
    private String userName;

    @NotBlank(message = "姓名不能为空")
    private String name;

    @NotBlank
    @Length(max=11,message = "电话长度超过最大限制")
    private String phone;
}
